package lib.Model;

import java.io.Serializable;

public class Course implements Serializable {
    private String cid;
    private  String cname;
    private String cteacher;
    private String ctime;
    private int rongliang;
    private int cnum;
    private int ccount;
    private int isposted;

    public Course(String cid, String cname, String cteacher, String ctime, int rongliang, int cnum, int ccount, int isposted){
        this.cid=cid;
        this.cname=cname;
        this.cteacher=cteacher;
        this.ctime=ctime;
        this.rongliang=rongliang;
        this.cnum=cnum;
        this.ccount = ccount;
        this.isposted = isposted;
    }

    public void setCid(String cid) {
        this.cid = cid;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public void setCteacher(String cteacher) {
        this.cteacher = cteacher;
    }

    public void setCtime(String ctime) {
        this.ctime = ctime;
    }

    public void setRongliang(int rongliang) {
        this.rongliang = rongliang;
    }

    public void setCnum(int cnum) {
        this.cnum = cnum;
    }

    public String getCid() {
        return cid;
    }

    public String getCname() {
        return cname;
    }

    public String getCteacher() {
        return cteacher;
    }

    public String getCtime() {
        return ctime;
    }

    public int getRongliang() {
        return rongliang;
    }

    public int getCnum() {
        return cnum;
    }

    public int getCcount() {
        return ccount;
    }

    public void setCcount(int ccount) {
        this.ccount = ccount;
    }

    public int getIsposted() {
        return isposted;
    }

    public void setIsposted(int isposted) {
        this.isposted = isposted;
    }
}
